package com.charity.system.vo.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.RequiredArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * 用户中心-菜单权限对象 usc_menu
 *
 */
@Data
@Builder
@RequiredArgsConstructor
@AllArgsConstructor
public class MenuModel {

    private Long id;

    private String name;

    private String title;

    private String menuType;

    private Long parentId;

    private String ancestors;

    private Long sortNum;

    private String path;

    private String component;

    private String redirect;

    private String linkUrl;

    private Boolean isLink;

    private Boolean isIframe;

    private Boolean isKeepAlive;

    private Boolean isHide;

    private Boolean isAffix;

    private Integer status;

    private String perms;

    private String icon;

    private String remark;

    private Long createId;

    private Date createTime;

    private Long updateId;

    private Date updateTime;

    List<MenuModel> children;
}
